<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    div {
      width: 800px;
      border: 1px solid #ccc;
      margin: 0 auto;
      /* height: 600px; */
      overflow: hidden;
      /* background-color: bisque; */

    }

    ul li {
      list-style: none;
      float: left;
      width: 170px;
      margin-left: 15px;
      /* background-color: aqua; */
      margin-top: 10px;
      padding-left: 10px;
      border: 1px solid #ccc;
      margin-bottom: 10px;
      padding-top: 5px;
    }

    ul li img {
      width: 150px;

    }
  </style>
</head>

<body>
  <div>
    <ul>
      <li><img src="./image/1.jpg" alt=""></li>
      <li><img src="./image/2.jpg" alt=""></li>
      <li><img src="./image/3.jpg" alt=""></li>
      <li><img src="./image/4.jpg" alt=""></li>
      <li><img src="./image/5.jpg" alt=""></li>
      <li><img src="./image/6.jpg" alt=""></li>
      <li><img src="./image/7.png" alt=""></li>
      <li><img src="./image/8.png" alt=""></li>
    </ul>
  </div>
</body>

</html>